﻿using Book.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Book.IRepositories
{
    public interface IAchievementsRepository
    {
        void AddAchievements(string title, string abstracts, string year, string link, string code,string category);
        public List<AchievementsEntity> GetAchievements();
        public List<AchievementsEntity> GetAchievementsByCategory(string category);
        public void DeleteAchievements(string id);
        public void UpdateAchievements(string id, string title, string abstracts, string year, string link, string code, string category);
        public List<string> GetYearByCategory(string category);
        public List<AchievementsEntity> GetAchievementsByYear(string year);
    }
}
